<?php

namespace App\Library\Requests\ProductOrderReturn;

use App\Library\Requests\Base\BasePageRequest;

class ProductOrderReturnSellerPageRequest extends BasePageRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'orBuyStatus' => 'nullable|integer|between:1,6',
            'sellUserId' => 'nullable|integer|min:1',
            'orType' => 'nullable|integer|in:1,2',
            'startAt' => 'nullable|date',
            'endAt' => 'nullable|date',
            'keyword' => 'nullable|string|max:20',
        ]);
    }
}
